package com.atmc.mapper;

import com.atmc.bean.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface UserMapper extends BaseMapper<User> {

     User selectUser(@Param("username") String username);
     List<User> selectAll();
     int insertOne(User user);
}
